/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: HnQueryDao
 * Author:   Administrator
 * Date:     2020/2/26 18:13
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.api.vo.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author Administrator
 * @create 2020/2/26
 * @since 1.0.0
 */
@Repository
public interface FescoadQueryMapper {
    /**
     * 根据项目的id 查询 城市和门店
     * @param id
     * @return
     */
    List<Map<String,Object>> selectStoreCity(@Param("id") String id);

    Xmkxx selectXMKXX(@Param("id") String id);

    void insertGSLX(GSLX gslx);

    void updateDatToWorkTime(@Param("projectNo")String projectNo);

    Map<String,String> selectRecruitmenOrStore(@Param("id")String id);

    void updateProjectNo(@Param("objectId")String objectId, @Param("sequenceNo")String sequenceNo,@Param("code") Integer code);

    String getDepId(@Param("userId")String userId);

    Integer getProjectNo(@Param("type")String type);

    String getUserId(@Param("creater")String creater);

    void updateSubjectStatus(@Param("projectNo")String projectNo);
    void updateSubjectStatusGSLX(@Param("projectNo")String projectNo);

    String getSubjectName(@Param("id")String id);


    DSRWJD selectTask(@Param("subjectName")String subjectName, @Param("serviceModule")String serviceModule, @Param("serviceItem") String serviceItem, @Param("realizationWay")String realizationWay);

    List<Attachment> getAttachment(@Param("bizObjectId")String bizObjectId, @Param("bizPropertyCode")String bizPropertyCode);

    String getTable(@Param("tableName")String tableName, @Param("uuid")String uuid);

    void inserAttachment(List<Attachment> attachment);

    void updateTaskRoleById(@Param("id")String id, @Param("roles")String roles);

    Xmlvll selectXMLVLL(@Param("id")String id);

    void insertTask(DSRWJD d);

    String getStoreRotation(@Param("storeRotation")String storeRotation);

    Map<String, Object> getAttMessage(@Param("refId")String refId);
}